Skip to content

docs(integrations): add Orthogonal page under Frameworks#79

Open
ChristianPickettCode wants to merge 5 commits intoScrapeGraphAI:mainfrom
ChristianPickettCode:add-orthogonal-integration
Open

docs(integrations): add Orthogonal page under Frameworks#79
ChristianPickettCode wants to merge 5 commits intoScrapeGraphAI:mainfrom
ChristianPickettCode:add-orthogonal-integration

Conversation

@ChristianPickettCode
Copy link
Copy Markdown

@ChristianPickettCode ChristianPickettCode commented May 9, 2026

Summary

Adds a new Frameworks integration page — integrations/orthogonal.mdx — documenting how to call ScrapeGraph v2 endpoints through the Orthogonal API gateway.

The page covers the four ways an agent can reach ScrapeGraph through Orthogonal:

  • @orth/sdk — TypeScript SDK wrapping POST /v1/run. One ORTHOGONAL_API_KEY is enough; no separate SGAI_API_KEY required.
  • orth CLI — for one-off scrapes and shell pipelines, with browser-based orth login or env-var auth.
  • MCP server — hosted at https://mcp.orth.sh, registered via the client's mcpServers config; exposes search, get_details, use, and integrate tools.
  • x402 — pay-per-use via USDC on Base, with both Node.js and Python examples.

It also documents Orthogonal's search / details / integrate discovery endpoints (which return ScrapeGraph parameter schemas at runtime) and the unified { success, priceCents, data, requestId } response envelope.

Registers the new page under the Frameworks group in docs.json next to llamaindex, langchain, langgraph, crewai, and agno.

Test plan

  • Mintlify preview renders /integrations/orthogonal under the Frameworks group
  • Internal cross-links resolve: /api-reference/introduction, /sdks/python
  • Code blocks render with correct language highlighting
  • <CodeGroup> for the x402 Node.js / Python pair renders as tabs

Happy to iterate on tone, ordering, or the title emoji (currently 🟧 — open to swapping it for whatever the ScrapeGraph team prefers).

Adds a Frameworks integration page documenting how to call ScrapeGraph
v2 endpoints through the Orthogonal API gateway, covering the @orth/sdk
TypeScript SDK, the orth CLI, the MCP server, and x402 stablecoin
payments. Cross-links to the existing /integrations/x402 page rather
than duplicating the payment-protocol reference.

Registers integrations/orthogonal under the Frameworks group in
docs.json next to llamaindex, langchain, langgraph, crewai, and agno.
Self-review against docs.orthogonal.com surfaced four inaccuracies in
the initial draft. This commit fixes them:

- CLI auth uses ORTHOGONAL_API_KEY env var or --key flag; there is no
  `orth login` subcommand. Replaced with the env-var export shown in
  the official CLI doc.
- MCP server is hosted at https://mcp.orth.sh and registered via the
  client's mcpServers config — there is no `npx @orth/mcp install`.
  Updated the example to show the JSON config block.
- The MCP server exposes four tools — search, get_details, integrate,
  use — not search_apis/run_api/get_code/list_apis (those are the
  Agent Platforms HTTP tool names). Corrected the names and the
  example-call tool from `run_api` to `use`.
- Removed the unverified "(6 endpoints)" annotation in the CLI search
  output. The catalog count drifts and the docs themselves show "(3
  endpoints)" — the page now points readers at `orth api scrapegraph`
  for the live count.

Also tightens the SDK constructor (explicit apiKey rather than implying
auto-env-load), expands the CLI section to show endpoint-detail lookup
(`orth api scrapegraph /v1/smartscraper`), and adds priceCents +
HTTP-402 detail to the failure-envelope example to match the format
documented at docs.orthogonal.com/api-reference/run.
Verified against the @orth/cli source (cli/src/commands/auth.ts):
`orth login` is a real, browser-based OAuth-style command — it opens
the dashboard, captures the returned key on a localhost callback, and
persists it. The earlier "fix" that removed it was based on a stale
docs page that only documented the env-var path.

This commit shows both options: `orth login` (recommended, no manual
key copy-paste) and the explicit `ORTHOGONAL_API_KEY` env var.
…ns/x402

Removes the three cross-links to the existing x402 integration page so
this page stands alone. Folds the missing pieces inline: a brief
description of the HTTP 402 flow, a Python (CodeGroup) example next to
the Node.js one, and the install lines for both x402-fetch + viem and
x402 + eth-account.

External references (x402.org, github.com/coinbase/x402) replace the
internal /integrations/x402 link.
Copy link
Copy Markdown
Member

@VinciGit00 VinciGit00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can use your logo instead of the orange pattern

Drops the 🟧 placeholder emoji from the page title, adds the Orthogonal
brand mark as a Frame at the top of integrations/orthogonal.mdx, and
checks the PNG into integrations/images/orthogonal.png.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants